<%--
  Created by IntelliJ IDEA.
  User: houxianghua
  Date: 2015/10/12
  Time: 11:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/component/common.jsp" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <title>随访主页面</title>
  <%@include file="/WEB-INF/jsp/component/commonHead.jsp" %>
  <%@include file="/WEB-INF/jsp/component/commonBottom.jsp" %>
  <link rel="stylesheet" href="${assets}/followUp/css/personalmassage.css" type="text/css">
  <%--<script type="text/javascript" src="${assets}/PIE_IE678.js"></script>--%>
  <script type="text/javascript" src="${assets}/followUp/js/personalmassage.js"></script>
</head>
<body>
<div class="hd">
  <div class="back">
    <input type="button" value="返回" class="backbtn">
  </div>
  <div class="info">
    <div class="photo">
      <!-- <img src="img/pic.png"/> -->
    </div>
    <p>
      <span>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:<i>任盈盈</i></span>
      <span class="sex">女:25</span>
      <span>档案编号:</span>
    </p>
    <p>
      <span class="idCard">身份证号:341253663655636630</span>
      <span>卡号:45451345</span>
    </p>
  </div>
  <div class="menu">
    <button class="act">随访数据</button>
    <button>随访记录</button>
  </div>
</div>
<div class="cl"></div>
<div class="visitData">
  <div class="diseaseTab">
    <input type="button" value="高血压" class="HighBlood cur">
    <input type="button" value="糖尿病" class="Diabetes">
    <div class="time">上次随访时间:2015-04-15</div>
  </div>
  <!-- 高血压，糖尿病 信息 -->
  <iframe src="${URL_ADM_FOLLOWUP_TOVIEW_HYPERTENSION}?followUpNo=${followUpNo}" frameborder="0" id="myIframe" width="880px" scrolling="no"></iframe>
</div>
<script type="text/javascript">
  function reSizeParentIframe() {
    try {
      $("#myIframe").height(Number($("#myIframe")[0].contentWindow.document.documentElement.scrollHeight));
    } catch (ex) {
    }
  }
  window.setInterval("reSizeParentIframe()", 200);



  $('.diseaseTab .HighBlood').click(function(){
    $('#myIframe').attr('src','${URL_ADM_FOLLOWUP_TOVIEW_HYPERTENSION}?followUpNo=${followUpNo}');
  });
  $('.diseaseTab .Diabetes').click(function(){
    $('#myIframe').attr('src','${URL_ADM_FOLLOWUP_TOVIEW_SUGAR_DIABETES}?followUpNo=${followUpNo}');
  });

</script>

</body>
</html>
